import request from '@/utils/request';

// 获取验收信息
export function getCheckInfoF(data) {
  return request({
    url: '/renovation/acceptance/initial/detail',
    method: 'post',
    formData: data
  })
}

// 添加验收信息
export function addCheckInfoF(data) {
  return request({
    url: '/renovation/acceptance/initial/add',
    method: 'post',
    json: data
  })
}
// 添加实际建设信息
export function addConsInfoF(data) {
  return request({
    url: '/renovation/acceptance/apply/add',
    method: 'post',
    json: data
  })
}
// 查询实际建设信息以及项目信息
export function checkConsInfoF(data) {
  return request({
    url: '/renovation/acceptance/apply/detail',
    method: 'post',
    formData: data
  })
}
// 上传附件
export function uploadFj(data) {
  return request({
    url: '/renovation/acceptance/apply/upload',
    method: 'post',
    formData: data
  })
}

// 查询耕地质量等别评定成果信息
export function checkQualityInfo(data) {
  return request({
    url: '/renovation/acceptance/plow/getResult',
    method: 'post',
    formData: data
  })
}
// 查询耕地质量等别专家复核意见信息
export function checkQualityOpinionInfo(data) {
  return request({
    url: '/renovation/acceptance/plow/getReview',
    method: 'post',
    formData: data
  })
}
// 添加耕地质量等别评定成果信息
export function addCheckQualityInfo(data) {
  return request({
    url: '/renovation/acceptance/plow/addResult',
    method: 'post',
    formData: data
  })
}
// 添加耕地质量等别专家复核意见信息
export function addQualityOpinionInfo(data) {
  return request({
    url: '/renovation/acceptance/plow/addReview',
    method: 'post',
    formData: data
  })
}


// 通用=》审查意见
//添加审查意见
export function addExaminationOpinion(data) {
  return request({
    url: '/renovation/examineOpinion/add',
    method: 'post',
    formData: data
  })
}
//查询审查意见
export function checkExaminationOpinion(data) {
  return request({
    url: '/renovation/examineOpinion/detail',
    method: 'post',
    formData: data
  })
}
//审查流程列表
export function reviewProcessList(data) {
  return request({
    url: '/renovation/examineOpinion/list',
    method: 'post',
    formData: data
  })
}
//当前用户签名
export function curUserSigna(data) {
  return request({
    url: '/renovation/user/currentUserSignature',
    method: 'post',
    formData: data
  })
}
//获取文件详情

export function getFile(data) {
  return request({
    url: '/renovation/file/getFile',
    method: 'post',
    formData: data
  })
}